package com.kfm.pm;

public class Demo07 {

    public static void main(String[] args) {
        String[] names = {"张三", "李四", "王五","孙六"};
//        for (int i = 0; i < names.length; i++) {
//            names[i] += i;
//        }
        for (String name : names) {
            name = name + "1";
            System.out.println(name);
        }
    }
}
